<%@page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head> 
    <base href="<%=basePath%>">
    
    <title>My JSP 'top.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript"  src="static/bootstrap/jq/jquery-2.1.1.min.js"></script>
	<script type="text/javascript"  src="static/bootstrap/js/bootstrap.min.js"></script>
	<link href="static/bootstrap/css/bootstrap.min.css" type="text/css" rel="stylesheet">
		
<!-- 	<script type="text/javascript">
		$("#logout").click(function (){
			Window.lo
		})
	</script>
 -->	
	<style type="text/css">
		body {
			margin-left: 0px;
			margin-top: 0px;
			margin-right: 0px;
			margin-bottom: 0px;
			font-family: '微软雅黑';
			line-height: 50px;
			overflow:hidden;
		}
		
		.top {
			background-color: white;
			height: 50px;
			border-bottom: rgb(41, 150, 245) 1px solid;
			width: 100%;
		}
		
		.logo {
			float: left;
		}
		
		.icro {
			border: 0px;
			vertical-align: middle;
			padding-top: 14px;
		}
		
		.right {
			float: right;
		}
		a:focus{
			outline:none;
		}
	</style>
  </head>
  
  <body>
 	<div class="top">
		<div class="logo"><img alt="dome" src="<%=path %>/static/images/LOGO.png" style="height: 40px;padding: 5px 0px 0px 20px"></div>
		<div>
			<a href="logout" target="_parent">
			<button type="button" class="btn icro btn-default right">
				<span class="glyphicon glyphicon-off" aria-hidden="true" id="logout"></span> 退出
			</button>
			</a>
		</div>
		<div>
			<button type="button" class="btn icro btn-default right">
				<span class="glyphicon glyphicon-home" aria-hidden="true"></span>主页
			</button>
		</div>
		
		<div class="right">
			<font>你好,${sessionScope.user}</font>
		</div>
	</div>
  </body>
</html>
